<table border="1" class="table table-bordered">
	<thead>
		<tr> 
			<th>Issue <?php echo $data->ID?></th>
			<th><?php echo $data->quantity_object?> câu</th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<?php for($i=1;$i<=$data->quantity_object;$i++) {?>
			<tr>
				<td>Câu <?php echo $i?></td>				
					<?php $answerID = $data->getAnswerID($data->ID,$i)?>		
					<?php $questionID = $data->getQuestionID($data->ID,$i)?>
					<?php						
							$question_status = $data->getStatus('question',$questionID,'edit_status');
						 	$resolve_status = $data->getStatus('answer',$answerID,'resolve_status');						 
						 	$edit_status = $data->getStatus('answer',$answerID,'edit_status');
					?>
				<td>questionID:<?php echo $questionID?> </td>	
				<td>question status: <?php echo $question_status?></td>
				<td>answerID:<?php echo $answerID?> </td>
				<td>resolve status: <?php echo $resolve_status?></td>		
				<td>edit answer status: <?php echo $edit_status?></td>	
				<td><?php echo CHtml::dropDownList('listEditor', '', $data->getResolverList(),array('id'=>'issue_'.$data->ID.'_'.$i))?></td>	
				<td>
						<input class="btn btn-success" id="confirm_<?php echo $data->ID.'_'.$i?>" type="button" value="Confirm" onclick="beforeCheck(<?php echo $data->ID?>,<?php echo $i?>,'confirm')">
						<input class="btn btn-inverse" id="reassign_<?php echo $data->ID.'_'.$i?>" type="button" value="Re-Assign" onclick="beforeCheck(<?php echo $data->ID?>,<?php echo $i?>,'reassign')">				
				</td>
			</tr>
		<?php }?>
	</tbody>
</table>



